package com.cs.user.infra.basic.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.cs.user.common.entity.BaseResponse;
import com.cs.user.infra.basic.mapper.UserRoleMapper;
import com.cs.user.infra.basic.entity.UserRole;
import com.cs.user.infra.basic.service.UserRoleService;
import org.springframework.stereotype.Service;

/**
 * 用户角色表(AuthUserRole)表服务实现类
 *
 * @author makejava
 * @since 2024-09-24 14:20:58
 */
@Service("authUserRoleService")
public class UserRoleServiceImpl extends ServiceImpl<UserRoleMapper, UserRole> implements UserRoleService {

    @Override
    public Boolean addUserRole(UserRole userRole) {
        return save(userRole);
    }
}

